/**
 * This is a generated class and is not intended for modification.  To customize behavior
 * of this value object you may modify the generated sub-class of this class - Schede.as.
 */

package valueObjects
{
import com.adobe.fiber.services.IFiberManagingService;
import com.adobe.fiber.valueobjects.IValueObject;
import flash.events.EventDispatcher;
import mx.collections.ArrayCollection;
import mx.events.PropertyChangeEvent;

import flash.net.registerClassAlias;
import flash.net.getClassByAlias;
import com.adobe.fiber.core.model_internal;
import com.adobe.fiber.valueobjects.IPropertyIterator;
import com.adobe.fiber.valueobjects.AvailablePropertyIterator;

use namespace model_internal;

[Managed]
[ExcludeClass]
public class _Super_Schede extends flash.events.EventDispatcher implements com.adobe.fiber.valueobjects.IValueObject
{
    model_internal static function initRemoteClassAliasSingle(cz:Class) : void
    {
    }

    model_internal static function initRemoteClassAliasAllRelated() : void
    {
    }

    model_internal var _dminternal_model : _SchedeEntityMetadata;
    model_internal var _changedObjects:mx.collections.ArrayCollection = new ArrayCollection();

    public function getChangedObjects() : Array
    {
        _changedObjects.addItemAt(this,0);
        return _changedObjects.source;
    }

    public function clearChangedObjects() : void
    {
        _changedObjects.removeAll();
    }

    /**
     * properties
     */
    private var _internal_id_scheda : String;
    private var _internal_cognome : String;
    private var _internal_nome : String;
    private var _internal_data_nascita : Date;
    private var _internal_id_organizzazione : String;
    private var _internal_sesso : String;
    private var _internal_eg : int;
    private var _internal_peso : int;
    private var _internal_apgar1 : int;
    private var _internal_apgar3 : int;
    private var _internal_apgar5 : int;
    private var _internal_aspir_sn : String;
    private var _internal_aspir_type : String;
    private var _internal_stimo_sn : String;
    private var _internal_stimo_type : String;
    private var _internal_riave_sn : String;
    private var _internal_riave_ossigeno_sn : String;
    private var _internal_riave_ossigeno_o2iniz : Number;
    private var _internal_riave_ossigeno_o2max : Number;
    private var _internal_riave_ossigeno_ltmin : Number;
    private var _internal_riave_mascherafacciale_sn : String;
    private var _internal_riave_mascherafacciale_type : String;
    private var _internal_riave_mascherafacciale_PIP : Number;
    private var _internal_riave_mascherafacciale_PEEP : Number;
    private var _internal_riave_mascherafacciale_o2iniz : Number;
    private var _internal_riave_mascherafacciale_o2max : Number;
    private var _internal_riave_ncpap_sn : String;
    private var _internal_riave_ncpap_PEEP : Number;
    private var _internal_riave_ncpap_o2iniz : Number;
    private var _internal_riave_ncpap_o2_max : Number;
    private var _internal_riave_sondino_sn : String;
    private var _internal_riave_mascheralaringea_sn : String;
    private var _internal_riave_mascheralaringea_type : String;
    private var _internal_riave_mascheralaringea_PIP : Number;
    private var _internal_riave_mascheralaringea_PEEP : Number;
    private var _internal_riave_mascheralaringea_o2iniz : Number;
    private var _internal_riave_mascheralaringea_o2max : Number;
    private var _internal_riave_intubazione_sn : String;
    private var _internal_riave_intubazione_insure : String;
    private var _internal_riave_intubazione_type : String;
    private var _internal_riave_intubazione_TET : Number;
    private var _internal_riave_intubazione_minuti : Number;
    private var _internal_riave_ventilazioneTET_sn : String;
    private var _internal_riave_ventilazioneTET_type : String;
    private var _internal_riave_ventilazioneTET_PIP : Number;
    private var _internal_riave_ventilazioneTET_PEEP : Number;
    private var _internal_riave_ventilazioneTET_o2iniz : Number;
    private var _internal_riave_ventilazioneTET_o2max : Number;
    private var _internal_riaca_sn : String;
    private var _internal_riaca_massaggio_type : String;
    private var _internal_riaca_durata : Number;
    private var _internal_farma_sn : String;
    private var _internal_farma_adrenalina_sn : String;
    private var _internal_farma_adrenalina_som : Number;
    private var _internal_farma_adrenalina_VO_dose : Number;
    private var _internal_farma_adrenalina_ET_dose : Number;
    private var _internal_farma_fisiologica_sn : String;
    private var _internal_farma_fisiologica_som : Number;
    private var _internal_farma_fisiologica_dose : Number;
    private var _internal_farma_bicarbonato_sn : String;
    private var _internal_farma_bicarbonato_som : Number;
    private var _internal_farma_bicarbonato_dose : Number;
    private var _internal_farma_sangue_sn : String;
    private var _internal_farma_sangue_dose : Number;
    private var _internal_farma_surfattante_sn : String;
    private var _internal_farma_surfattante_dose : Number;
    private var _internal_monit_sn : String;
    private var _internal_monit_sao2fc_sn : String;
    private var _internal_monit_sao2fc_inizio : Number;
    private var _internal_monit_volumetidal_sn : String;
    private var _internal_monit_volumetidal : String;
    private var _internal_monit_temperatura_sn : String;
    private var _internal_monit_temperatura_inizio : Number;
    private var _internal_monit_tempsalaparto_sn : String;
    private var _internal_monit_tempsalaparto : Number;
    private var _internal_monit_sacchettopoli_sn : String;
    private var _internal_emoga_funicolo_sn : String;
    private var _internal_emoga_funicolo_type : String;
    private var _internal_emoga_funicolo_arte_ph : Number;
    private var _internal_emoga_funicolo_arte_be : Number;
    private var _internal_emoga_funicolo_arte_lattato : Number;
    private var _internal_emoga_funicolo_veno_ph : Number;
    private var _internal_emoga_funicolo_veno_be : Number;
    private var _internal_emoga_funicolo_veno_lattato : Number;
    private var _internal_emoga_neonato_sn : String;
    private var _internal_emoga_neonato_type : String;
    private var _internal_emoga_neonato_minvita : Number;
    private var _internal_emoga_neonato_arte_ph : Number;
    private var _internal_emoga_neonato_arte_be : Number;
    private var _internal_emoga_neonato_arte_lattato : Number;
    private var _internal_emoga_neonato_veno_ph : Number;
    private var _internal_emoga_neonato_veno_be : Number;
    private var _internal_emoga_neonato_veno_lattato : Number;

    private static var emptyArray:Array = new Array();

    // Change this value according to your application's floating-point precision
    private static var epsilon:Number = 0.0001;

    /**
     * derived property cache initialization
     */
    model_internal var _cacheInitialized_isValid:Boolean = false;

    model_internal var _changeWatcherArray:Array = new Array();

    public function _Super_Schede()
    {
        _model = new _SchedeEntityMetadata(this);

        // Bind to own data or source properties for cache invalidation triggering

    }

    /**
     * data/source property getters
     */

    [Bindable(event="propertyChange")]
    public function get id_scheda() : String
    {
        return _internal_id_scheda;
    }

    [Bindable(event="propertyChange")]
    public function get cognome() : String
    {
        return _internal_cognome;
    }

    [Bindable(event="propertyChange")]
    public function get nome() : String
    {
        return _internal_nome;
    }

    [Bindable(event="propertyChange")]
    public function get data_nascita() : Date
    {
        return _internal_data_nascita;
    }

    [Bindable(event="propertyChange")]
    public function get id_organizzazione() : String
    {
        return _internal_id_organizzazione;
    }

    [Bindable(event="propertyChange")]
    public function get sesso() : String
    {
        return _internal_sesso;
    }

    [Bindable(event="propertyChange")]
    public function get eg() : int
    {
        return _internal_eg;
    }

    [Bindable(event="propertyChange")]
    public function get peso() : int
    {
        return _internal_peso;
    }

    [Bindable(event="propertyChange")]
    public function get apgar1() : int
    {
        return _internal_apgar1;
    }

    [Bindable(event="propertyChange")]
    public function get apgar3() : int
    {
        return _internal_apgar3;
    }

    [Bindable(event="propertyChange")]
    public function get apgar5() : int
    {
        return _internal_apgar5;
    }

    [Bindable(event="propertyChange")]
    public function get aspir_sn() : String
    {
        return _internal_aspir_sn;
    }

    [Bindable(event="propertyChange")]
    public function get aspir_type() : String
    {
        return _internal_aspir_type;
    }

    [Bindable(event="propertyChange")]
    public function get stimo_sn() : String
    {
        return _internal_stimo_sn;
    }

    [Bindable(event="propertyChange")]
    public function get stimo_type() : String
    {
        return _internal_stimo_type;
    }

    [Bindable(event="propertyChange")]
    public function get riave_sn() : String
    {
        return _internal_riave_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ossigeno_sn() : String
    {
        return _internal_riave_ossigeno_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ossigeno_o2iniz() : Number
    {
        return _internal_riave_ossigeno_o2iniz;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ossigeno_o2max() : Number
    {
        return _internal_riave_ossigeno_o2max;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ossigeno_ltmin() : Number
    {
        return _internal_riave_ossigeno_ltmin;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascherafacciale_sn() : String
    {
        return _internal_riave_mascherafacciale_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascherafacciale_type() : String
    {
        return _internal_riave_mascherafacciale_type;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascherafacciale_PIP() : Number
    {
        return _internal_riave_mascherafacciale_PIP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascherafacciale_PEEP() : Number
    {
        return _internal_riave_mascherafacciale_PEEP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascherafacciale_o2iniz() : Number
    {
        return _internal_riave_mascherafacciale_o2iniz;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascherafacciale_o2max() : Number
    {
        return _internal_riave_mascherafacciale_o2max;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ncpap_sn() : String
    {
        return _internal_riave_ncpap_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ncpap_PEEP() : Number
    {
        return _internal_riave_ncpap_PEEP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ncpap_o2iniz() : Number
    {
        return _internal_riave_ncpap_o2iniz;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ncpap_o2_max() : Number
    {
        return _internal_riave_ncpap_o2_max;
    }

    [Bindable(event="propertyChange")]
    public function get riave_sondino_sn() : String
    {
        return _internal_riave_sondino_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascheralaringea_sn() : String
    {
        return _internal_riave_mascheralaringea_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascheralaringea_type() : String
    {
        return _internal_riave_mascheralaringea_type;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascheralaringea_PIP() : Number
    {
        return _internal_riave_mascheralaringea_PIP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascheralaringea_PEEP() : Number
    {
        return _internal_riave_mascheralaringea_PEEP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascheralaringea_o2iniz() : Number
    {
        return _internal_riave_mascheralaringea_o2iniz;
    }

    [Bindable(event="propertyChange")]
    public function get riave_mascheralaringea_o2max() : Number
    {
        return _internal_riave_mascheralaringea_o2max;
    }

    [Bindable(event="propertyChange")]
    public function get riave_intubazione_sn() : String
    {
        return _internal_riave_intubazione_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_intubazione_insure() : String
    {
        return _internal_riave_intubazione_insure;
    }

    [Bindable(event="propertyChange")]
    public function get riave_intubazione_type() : String
    {
        return _internal_riave_intubazione_type;
    }

    [Bindable(event="propertyChange")]
    public function get riave_intubazione_TET() : Number
    {
        return _internal_riave_intubazione_TET;
    }

    [Bindable(event="propertyChange")]
    public function get riave_intubazione_minuti() : Number
    {
        return _internal_riave_intubazione_minuti;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ventilazioneTET_sn() : String
    {
        return _internal_riave_ventilazioneTET_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ventilazioneTET_type() : String
    {
        return _internal_riave_ventilazioneTET_type;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ventilazioneTET_PIP() : Number
    {
        return _internal_riave_ventilazioneTET_PIP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ventilazioneTET_PEEP() : Number
    {
        return _internal_riave_ventilazioneTET_PEEP;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ventilazioneTET_o2iniz() : Number
    {
        return _internal_riave_ventilazioneTET_o2iniz;
    }

    [Bindable(event="propertyChange")]
    public function get riave_ventilazioneTET_o2max() : Number
    {
        return _internal_riave_ventilazioneTET_o2max;
    }

    [Bindable(event="propertyChange")]
    public function get riaca_sn() : String
    {
        return _internal_riaca_sn;
    }

    [Bindable(event="propertyChange")]
    public function get riaca_massaggio_type() : String
    {
        return _internal_riaca_massaggio_type;
    }

    [Bindable(event="propertyChange")]
    public function get riaca_durata() : Number
    {
        return _internal_riaca_durata;
    }

    [Bindable(event="propertyChange")]
    public function get farma_sn() : String
    {
        return _internal_farma_sn;
    }

    [Bindable(event="propertyChange")]
    public function get farma_adrenalina_sn() : String
    {
        return _internal_farma_adrenalina_sn;
    }

    [Bindable(event="propertyChange")]
    public function get farma_adrenalina_som() : Number
    {
        return _internal_farma_adrenalina_som;
    }

    [Bindable(event="propertyChange")]
    public function get farma_adrenalina_VO_dose() : Number
    {
        return _internal_farma_adrenalina_VO_dose;
    }

    [Bindable(event="propertyChange")]
    public function get farma_adrenalina_ET_dose() : Number
    {
        return _internal_farma_adrenalina_ET_dose;
    }

    [Bindable(event="propertyChange")]
    public function get farma_fisiologica_sn() : String
    {
        return _internal_farma_fisiologica_sn;
    }

    [Bindable(event="propertyChange")]
    public function get farma_fisiologica_som() : Number
    {
        return _internal_farma_fisiologica_som;
    }

    [Bindable(event="propertyChange")]
    public function get farma_fisiologica_dose() : Number
    {
        return _internal_farma_fisiologica_dose;
    }

    [Bindable(event="propertyChange")]
    public function get farma_bicarbonato_sn() : String
    {
        return _internal_farma_bicarbonato_sn;
    }

    [Bindable(event="propertyChange")]
    public function get farma_bicarbonato_som() : Number
    {
        return _internal_farma_bicarbonato_som;
    }

    [Bindable(event="propertyChange")]
    public function get farma_bicarbonato_dose() : Number
    {
        return _internal_farma_bicarbonato_dose;
    }

    [Bindable(event="propertyChange")]
    public function get farma_sangue_sn() : String
    {
        return _internal_farma_sangue_sn;
    }

    [Bindable(event="propertyChange")]
    public function get farma_sangue_dose() : Number
    {
        return _internal_farma_sangue_dose;
    }

    [Bindable(event="propertyChange")]
    public function get farma_surfattante_sn() : String
    {
        return _internal_farma_surfattante_sn;
    }

    [Bindable(event="propertyChange")]
    public function get farma_surfattante_dose() : Number
    {
        return _internal_farma_surfattante_dose;
    }

    [Bindable(event="propertyChange")]
    public function get monit_sn() : String
    {
        return _internal_monit_sn;
    }

    [Bindable(event="propertyChange")]
    public function get monit_sao2fc_sn() : String
    {
        return _internal_monit_sao2fc_sn;
    }

    [Bindable(event="propertyChange")]
    public function get monit_sao2fc_inizio() : Number
    {
        return _internal_monit_sao2fc_inizio;
    }

    [Bindable(event="propertyChange")]
    public function get monit_volumetidal_sn() : String
    {
        return _internal_monit_volumetidal_sn;
    }

    [Bindable(event="propertyChange")]
    public function get monit_volumetidal() : String
    {
        return _internal_monit_volumetidal;
    }

    [Bindable(event="propertyChange")]
    public function get monit_temperatura_sn() : String
    {
        return _internal_monit_temperatura_sn;
    }

    [Bindable(event="propertyChange")]
    public function get monit_temperatura_inizio() : Number
    {
        return _internal_monit_temperatura_inizio;
    }

    [Bindable(event="propertyChange")]
    public function get monit_tempsalaparto_sn() : String
    {
        return _internal_monit_tempsalaparto_sn;
    }

    [Bindable(event="propertyChange")]
    public function get monit_tempsalaparto() : Number
    {
        return _internal_monit_tempsalaparto;
    }

    [Bindable(event="propertyChange")]
    public function get monit_sacchettopoli_sn() : String
    {
        return _internal_monit_sacchettopoli_sn;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_sn() : String
    {
        return _internal_emoga_funicolo_sn;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_type() : String
    {
        return _internal_emoga_funicolo_type;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_arte_ph() : Number
    {
        return _internal_emoga_funicolo_arte_ph;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_arte_be() : Number
    {
        return _internal_emoga_funicolo_arte_be;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_arte_lattato() : Number
    {
        return _internal_emoga_funicolo_arte_lattato;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_veno_ph() : Number
    {
        return _internal_emoga_funicolo_veno_ph;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_veno_be() : Number
    {
        return _internal_emoga_funicolo_veno_be;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_funicolo_veno_lattato() : Number
    {
        return _internal_emoga_funicolo_veno_lattato;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_sn() : String
    {
        return _internal_emoga_neonato_sn;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_type() : String
    {
        return _internal_emoga_neonato_type;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_minvita() : Number
    {
        return _internal_emoga_neonato_minvita;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_arte_ph() : Number
    {
        return _internal_emoga_neonato_arte_ph;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_arte_be() : Number
    {
        return _internal_emoga_neonato_arte_be;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_arte_lattato() : Number
    {
        return _internal_emoga_neonato_arte_lattato;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_veno_ph() : Number
    {
        return _internal_emoga_neonato_veno_ph;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_veno_be() : Number
    {
        return _internal_emoga_neonato_veno_be;
    }

    [Bindable(event="propertyChange")]
    public function get emoga_neonato_veno_lattato() : Number
    {
        return _internal_emoga_neonato_veno_lattato;
    }

    public function clearAssociations() : void
    {
    }

    /**
     * data/source property setters
     */

    public function set id_scheda(value:String) : void
    {
        var oldValue:String = _internal_id_scheda;
        if (oldValue !== value)
        {
            _internal_id_scheda = value;
        }
    }

    public function set cognome(value:String) : void
    {
        var oldValue:String = _internal_cognome;
        if (oldValue !== value)
        {
            _internal_cognome = value;
        }
    }

    public function set nome(value:String) : void
    {
        var oldValue:String = _internal_nome;
        if (oldValue !== value)
        {
            _internal_nome = value;
        }
    }

    public function set data_nascita(value:Date) : void
    {
        var oldValue:Date = _internal_data_nascita;
        if (oldValue !== value)
        {
            _internal_data_nascita = value;
        }
    }

    public function set id_organizzazione(value:String) : void
    {
        var oldValue:String = _internal_id_organizzazione;
        if (oldValue !== value)
        {
            _internal_id_organizzazione = value;
        }
    }

    public function set sesso(value:String) : void
    {
        var oldValue:String = _internal_sesso;
        if (oldValue !== value)
        {
            _internal_sesso = value;
        }
    }

    public function set eg(value:int) : void
    {
        var oldValue:int = _internal_eg;
        if (oldValue !== value)
        {
            _internal_eg = value;
        }
    }

    public function set peso(value:int) : void
    {
        var oldValue:int = _internal_peso;
        if (oldValue !== value)
        {
            _internal_peso = value;
        }
    }

    public function set apgar1(value:int) : void
    {
        var oldValue:int = _internal_apgar1;
        if (oldValue !== value)
        {
            _internal_apgar1 = value;
        }
    }

    public function set apgar3(value:int) : void
    {
        var oldValue:int = _internal_apgar3;
        if (oldValue !== value)
        {
            _internal_apgar3 = value;
        }
    }

    public function set apgar5(value:int) : void
    {
        var oldValue:int = _internal_apgar5;
        if (oldValue !== value)
        {
            _internal_apgar5 = value;
        }
    }

    public function set aspir_sn(value:String) : void
    {
        var oldValue:String = _internal_aspir_sn;
        if (oldValue !== value)
        {
            _internal_aspir_sn = value;
        }
    }

    public function set aspir_type(value:String) : void
    {
        var oldValue:String = _internal_aspir_type;
        if (oldValue !== value)
        {
            _internal_aspir_type = value;
        }
    }

    public function set stimo_sn(value:String) : void
    {
        var oldValue:String = _internal_stimo_sn;
        if (oldValue !== value)
        {
            _internal_stimo_sn = value;
        }
    }

    public function set stimo_type(value:String) : void
    {
        var oldValue:String = _internal_stimo_type;
        if (oldValue !== value)
        {
            _internal_stimo_type = value;
        }
    }

    public function set riave_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_sn;
        if (oldValue !== value)
        {
            _internal_riave_sn = value;
        }
    }

    public function set riave_ossigeno_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_ossigeno_sn;
        if (oldValue !== value)
        {
            _internal_riave_ossigeno_sn = value;
        }
    }

    public function set riave_ossigeno_o2iniz(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ossigeno_o2iniz;
        if (isNaN(_internal_riave_ossigeno_o2iniz) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ossigeno_o2iniz = value;
        }
    }

    public function set riave_ossigeno_o2max(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ossigeno_o2max;
        if (isNaN(_internal_riave_ossigeno_o2max) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ossigeno_o2max = value;
        }
    }

    public function set riave_ossigeno_ltmin(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ossigeno_ltmin;
        if (isNaN(_internal_riave_ossigeno_ltmin) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ossigeno_ltmin = value;
        }
    }

    public function set riave_mascherafacciale_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_mascherafacciale_sn;
        if (oldValue !== value)
        {
            _internal_riave_mascherafacciale_sn = value;
        }
    }

    public function set riave_mascherafacciale_type(value:String) : void
    {
        var oldValue:String = _internal_riave_mascherafacciale_type;
        if (oldValue !== value)
        {
            _internal_riave_mascherafacciale_type = value;
        }
    }

    public function set riave_mascherafacciale_PIP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascherafacciale_PIP;
        if (isNaN(_internal_riave_mascherafacciale_PIP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascherafacciale_PIP = value;
        }
    }

    public function set riave_mascherafacciale_PEEP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascherafacciale_PEEP;
        if (isNaN(_internal_riave_mascherafacciale_PEEP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascherafacciale_PEEP = value;
        }
    }

    public function set riave_mascherafacciale_o2iniz(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascherafacciale_o2iniz;
        if (isNaN(_internal_riave_mascherafacciale_o2iniz) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascherafacciale_o2iniz = value;
        }
    }

    public function set riave_mascherafacciale_o2max(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascherafacciale_o2max;
        if (isNaN(_internal_riave_mascherafacciale_o2max) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascherafacciale_o2max = value;
        }
    }

    public function set riave_ncpap_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_ncpap_sn;
        if (oldValue !== value)
        {
            _internal_riave_ncpap_sn = value;
        }
    }

    public function set riave_ncpap_PEEP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ncpap_PEEP;
        if (isNaN(_internal_riave_ncpap_PEEP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ncpap_PEEP = value;
        }
    }

    public function set riave_ncpap_o2iniz(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ncpap_o2iniz;
        if (isNaN(_internal_riave_ncpap_o2iniz) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ncpap_o2iniz = value;
        }
    }

    public function set riave_ncpap_o2_max(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ncpap_o2_max;
        if (isNaN(_internal_riave_ncpap_o2_max) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ncpap_o2_max = value;
        }
    }

    public function set riave_sondino_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_sondino_sn;
        if (oldValue !== value)
        {
            _internal_riave_sondino_sn = value;
        }
    }

    public function set riave_mascheralaringea_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_mascheralaringea_sn;
        if (oldValue !== value)
        {
            _internal_riave_mascheralaringea_sn = value;
        }
    }

    public function set riave_mascheralaringea_type(value:String) : void
    {
        var oldValue:String = _internal_riave_mascheralaringea_type;
        if (oldValue !== value)
        {
            _internal_riave_mascheralaringea_type = value;
        }
    }

    public function set riave_mascheralaringea_PIP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascheralaringea_PIP;
        if (isNaN(_internal_riave_mascheralaringea_PIP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascheralaringea_PIP = value;
        }
    }

    public function set riave_mascheralaringea_PEEP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascheralaringea_PEEP;
        if (isNaN(_internal_riave_mascheralaringea_PEEP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascheralaringea_PEEP = value;
        }
    }

    public function set riave_mascheralaringea_o2iniz(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascheralaringea_o2iniz;
        if (isNaN(_internal_riave_mascheralaringea_o2iniz) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascheralaringea_o2iniz = value;
        }
    }

    public function set riave_mascheralaringea_o2max(value:Number) : void
    {
        var oldValue:Number = _internal_riave_mascheralaringea_o2max;
        if (isNaN(_internal_riave_mascheralaringea_o2max) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_mascheralaringea_o2max = value;
        }
    }

    public function set riave_intubazione_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_intubazione_sn;
        if (oldValue !== value)
        {
            _internal_riave_intubazione_sn = value;
        }
    }

    public function set riave_intubazione_insure(value:String) : void
    {
        var oldValue:String = _internal_riave_intubazione_insure;
        if (oldValue !== value)
        {
            _internal_riave_intubazione_insure = value;
        }
    }

    public function set riave_intubazione_type(value:String) : void
    {
        var oldValue:String = _internal_riave_intubazione_type;
        if (oldValue !== value)
        {
            _internal_riave_intubazione_type = value;
        }
    }

    public function set riave_intubazione_TET(value:Number) : void
    {
        var oldValue:Number = _internal_riave_intubazione_TET;
        if (isNaN(_internal_riave_intubazione_TET) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_intubazione_TET = value;
        }
    }

    public function set riave_intubazione_minuti(value:Number) : void
    {
        var oldValue:Number = _internal_riave_intubazione_minuti;
        if (isNaN(_internal_riave_intubazione_minuti) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_intubazione_minuti = value;
        }
    }

    public function set riave_ventilazioneTET_sn(value:String) : void
    {
        var oldValue:String = _internal_riave_ventilazioneTET_sn;
        if (oldValue !== value)
        {
            _internal_riave_ventilazioneTET_sn = value;
        }
    }

    public function set riave_ventilazioneTET_type(value:String) : void
    {
        var oldValue:String = _internal_riave_ventilazioneTET_type;
        if (oldValue !== value)
        {
            _internal_riave_ventilazioneTET_type = value;
        }
    }

    public function set riave_ventilazioneTET_PIP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ventilazioneTET_PIP;
        if (isNaN(_internal_riave_ventilazioneTET_PIP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ventilazioneTET_PIP = value;
        }
    }

    public function set riave_ventilazioneTET_PEEP(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ventilazioneTET_PEEP;
        if (isNaN(_internal_riave_ventilazioneTET_PEEP) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ventilazioneTET_PEEP = value;
        }
    }

    public function set riave_ventilazioneTET_o2iniz(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ventilazioneTET_o2iniz;
        if (isNaN(_internal_riave_ventilazioneTET_o2iniz) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ventilazioneTET_o2iniz = value;
        }
    }

    public function set riave_ventilazioneTET_o2max(value:Number) : void
    {
        var oldValue:Number = _internal_riave_ventilazioneTET_o2max;
        if (isNaN(_internal_riave_ventilazioneTET_o2max) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riave_ventilazioneTET_o2max = value;
        }
    }

    public function set riaca_sn(value:String) : void
    {
        var oldValue:String = _internal_riaca_sn;
        if (oldValue !== value)
        {
            _internal_riaca_sn = value;
        }
    }

    public function set riaca_massaggio_type(value:String) : void
    {
        var oldValue:String = _internal_riaca_massaggio_type;
        if (oldValue !== value)
        {
            _internal_riaca_massaggio_type = value;
        }
    }

    public function set riaca_durata(value:Number) : void
    {
        var oldValue:Number = _internal_riaca_durata;
        if (isNaN(_internal_riaca_durata) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_riaca_durata = value;
        }
    }

    public function set farma_sn(value:String) : void
    {
        var oldValue:String = _internal_farma_sn;
        if (oldValue !== value)
        {
            _internal_farma_sn = value;
        }
    }

    public function set farma_adrenalina_sn(value:String) : void
    {
        var oldValue:String = _internal_farma_adrenalina_sn;
        if (oldValue !== value)
        {
            _internal_farma_adrenalina_sn = value;
        }
    }

    public function set farma_adrenalina_som(value:Number) : void
    {
        var oldValue:Number = _internal_farma_adrenalina_som;
        if (isNaN(_internal_farma_adrenalina_som) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_adrenalina_som = value;
        }
    }

    public function set farma_adrenalina_VO_dose(value:Number) : void
    {
        var oldValue:Number = _internal_farma_adrenalina_VO_dose;
        if (isNaN(_internal_farma_adrenalina_VO_dose) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_adrenalina_VO_dose = value;
        }
    }

    public function set farma_adrenalina_ET_dose(value:Number) : void
    {
        var oldValue:Number = _internal_farma_adrenalina_ET_dose;
        if (isNaN(_internal_farma_adrenalina_ET_dose) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_adrenalina_ET_dose = value;
        }
    }

    public function set farma_fisiologica_sn(value:String) : void
    {
        var oldValue:String = _internal_farma_fisiologica_sn;
        if (oldValue !== value)
        {
            _internal_farma_fisiologica_sn = value;
        }
    }

    public function set farma_fisiologica_som(value:Number) : void
    {
        var oldValue:Number = _internal_farma_fisiologica_som;
        if (isNaN(_internal_farma_fisiologica_som) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_fisiologica_som = value;
        }
    }

    public function set farma_fisiologica_dose(value:Number) : void
    {
        var oldValue:Number = _internal_farma_fisiologica_dose;
        if (isNaN(_internal_farma_fisiologica_dose) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_fisiologica_dose = value;
        }
    }

    public function set farma_bicarbonato_sn(value:String) : void
    {
        var oldValue:String = _internal_farma_bicarbonato_sn;
        if (oldValue !== value)
        {
            _internal_farma_bicarbonato_sn = value;
        }
    }

    public function set farma_bicarbonato_som(value:Number) : void
    {
        var oldValue:Number = _internal_farma_bicarbonato_som;
        if (isNaN(_internal_farma_bicarbonato_som) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_bicarbonato_som = value;
        }
    }

    public function set farma_bicarbonato_dose(value:Number) : void
    {
        var oldValue:Number = _internal_farma_bicarbonato_dose;
        if (isNaN(_internal_farma_bicarbonato_dose) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_bicarbonato_dose = value;
        }
    }

    public function set farma_sangue_sn(value:String) : void
    {
        var oldValue:String = _internal_farma_sangue_sn;
        if (oldValue !== value)
        {
            _internal_farma_sangue_sn = value;
        }
    }

    public function set farma_sangue_dose(value:Number) : void
    {
        var oldValue:Number = _internal_farma_sangue_dose;
        if (isNaN(_internal_farma_sangue_dose) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_sangue_dose = value;
        }
    }

    public function set farma_surfattante_sn(value:String) : void
    {
        var oldValue:String = _internal_farma_surfattante_sn;
        if (oldValue !== value)
        {
            _internal_farma_surfattante_sn = value;
        }
    }

    public function set farma_surfattante_dose(value:Number) : void
    {
        var oldValue:Number = _internal_farma_surfattante_dose;
        if (isNaN(_internal_farma_surfattante_dose) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_farma_surfattante_dose = value;
        }
    }

    public function set monit_sn(value:String) : void
    {
        var oldValue:String = _internal_monit_sn;
        if (oldValue !== value)
        {
            _internal_monit_sn = value;
        }
    }

    public function set monit_sao2fc_sn(value:String) : void
    {
        var oldValue:String = _internal_monit_sao2fc_sn;
        if (oldValue !== value)
        {
            _internal_monit_sao2fc_sn = value;
        }
    }

    public function set monit_sao2fc_inizio(value:Number) : void
    {
        var oldValue:Number = _internal_monit_sao2fc_inizio;
        if (isNaN(_internal_monit_sao2fc_inizio) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_monit_sao2fc_inizio = value;
        }
    }

    public function set monit_volumetidal_sn(value:String) : void
    {
        var oldValue:String = _internal_monit_volumetidal_sn;
        if (oldValue !== value)
        {
            _internal_monit_volumetidal_sn = value;
        }
    }

    public function set monit_volumetidal(value:String) : void
    {
        var oldValue:String = _internal_monit_volumetidal;
        if (oldValue !== value)
        {
            _internal_monit_volumetidal = value;
        }
    }

    public function set monit_temperatura_sn(value:String) : void
    {
        var oldValue:String = _internal_monit_temperatura_sn;
        if (oldValue !== value)
        {
            _internal_monit_temperatura_sn = value;
        }
    }

    public function set monit_temperatura_inizio(value:Number) : void
    {
        var oldValue:Number = _internal_monit_temperatura_inizio;
        if (isNaN(_internal_monit_temperatura_inizio) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_monit_temperatura_inizio = value;
        }
    }

    public function set monit_tempsalaparto_sn(value:String) : void
    {
        var oldValue:String = _internal_monit_tempsalaparto_sn;
        if (oldValue !== value)
        {
            _internal_monit_tempsalaparto_sn = value;
        }
    }

    public function set monit_tempsalaparto(value:Number) : void
    {
        var oldValue:Number = _internal_monit_tempsalaparto;
        if (isNaN(_internal_monit_tempsalaparto) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_monit_tempsalaparto = value;
        }
    }

    public function set monit_sacchettopoli_sn(value:String) : void
    {
        var oldValue:String = _internal_monit_sacchettopoli_sn;
        if (oldValue !== value)
        {
            _internal_monit_sacchettopoli_sn = value;
        }
    }

    public function set emoga_funicolo_sn(value:String) : void
    {
        var oldValue:String = _internal_emoga_funicolo_sn;
        if (oldValue !== value)
        {
            _internal_emoga_funicolo_sn = value;
        }
    }

    public function set emoga_funicolo_type(value:String) : void
    {
        var oldValue:String = _internal_emoga_funicolo_type;
        if (oldValue !== value)
        {
            _internal_emoga_funicolo_type = value;
        }
    }

    public function set emoga_funicolo_arte_ph(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_funicolo_arte_ph;
        if (isNaN(_internal_emoga_funicolo_arte_ph) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_funicolo_arte_ph = value;
        }
    }

    public function set emoga_funicolo_arte_be(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_funicolo_arte_be;
        if (isNaN(_internal_emoga_funicolo_arte_be) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_funicolo_arte_be = value;
        }
    }

    public function set emoga_funicolo_arte_lattato(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_funicolo_arte_lattato;
        if (isNaN(_internal_emoga_funicolo_arte_lattato) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_funicolo_arte_lattato = value;
        }
    }

    public function set emoga_funicolo_veno_ph(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_funicolo_veno_ph;
        if (isNaN(_internal_emoga_funicolo_veno_ph) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_funicolo_veno_ph = value;
        }
    }

    public function set emoga_funicolo_veno_be(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_funicolo_veno_be;
        if (isNaN(_internal_emoga_funicolo_veno_be) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_funicolo_veno_be = value;
        }
    }

    public function set emoga_funicolo_veno_lattato(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_funicolo_veno_lattato;
        if (isNaN(_internal_emoga_funicolo_veno_lattato) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_funicolo_veno_lattato = value;
        }
    }

    public function set emoga_neonato_sn(value:String) : void
    {
        var oldValue:String = _internal_emoga_neonato_sn;
        if (oldValue !== value)
        {
            _internal_emoga_neonato_sn = value;
        }
    }

    public function set emoga_neonato_type(value:String) : void
    {
        var oldValue:String = _internal_emoga_neonato_type;
        if (oldValue !== value)
        {
            _internal_emoga_neonato_type = value;
        }
    }

    public function set emoga_neonato_minvita(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_minvita;
        if (isNaN(_internal_emoga_neonato_minvita) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_minvita = value;
        }
    }

    public function set emoga_neonato_arte_ph(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_arte_ph;
        if (isNaN(_internal_emoga_neonato_arte_ph) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_arte_ph = value;
        }
    }

    public function set emoga_neonato_arte_be(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_arte_be;
        if (isNaN(_internal_emoga_neonato_arte_be) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_arte_be = value;
        }
    }

    public function set emoga_neonato_arte_lattato(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_arte_lattato;
        if (isNaN(_internal_emoga_neonato_arte_lattato) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_arte_lattato = value;
        }
    }

    public function set emoga_neonato_veno_ph(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_veno_ph;
        if (isNaN(_internal_emoga_neonato_veno_ph) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_veno_ph = value;
        }
    }

    public function set emoga_neonato_veno_be(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_veno_be;
        if (isNaN(_internal_emoga_neonato_veno_be) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_veno_be = value;
        }
    }

    public function set emoga_neonato_veno_lattato(value:Number) : void
    {
        var oldValue:Number = _internal_emoga_neonato_veno_lattato;
        if (isNaN(_internal_emoga_neonato_veno_lattato) == true || Math.abs(oldValue - value) > epsilon)
        {
            _internal_emoga_neonato_veno_lattato = value;
        }
    }

    /**
     * Data/source property setter listeners
     *
     * Each data property whose value affects other properties or the validity of the entity
     * needs to invalidate all previously calculated artifacts. These include:
     *  - any derived properties or constraints that reference the given data property.
     *  - any availability guards (variant expressions) that reference the given data property.
     *  - any style validations, message tokens or guards that reference the given data property.
     *  - the validity of the property (and the containing entity) if the given data property has a length restriction.
     *  - the validity of the property (and the containing entity) if the given data property is required.
     */


    /**
     * valid related derived properties
     */
    model_internal var _isValid : Boolean;
    model_internal var _invalidConstraints:Array = new Array();
    model_internal var _validationFailureMessages:Array = new Array();

    /**
     * derived property calculators
     */

    /**
     * isValid calculator
     */
    model_internal function calculateIsValid():Boolean
    {
        var violatedConsts:Array = new Array();
        var validationFailureMessages:Array = new Array();

        var propertyValidity:Boolean = true;

        model_internal::_cacheInitialized_isValid = true;
        model_internal::invalidConstraints_der = violatedConsts;
        model_internal::validationFailureMessages_der = validationFailureMessages;
        return violatedConsts.length == 0 && propertyValidity;
    }

    /**
     * derived property setters
     */

    model_internal function set isValid_der(value:Boolean) : void
    {
        var oldValue:Boolean = model_internal::_isValid;
        if (oldValue !== value)
        {
            model_internal::_isValid = value;
            _model.model_internal::fireChangeEvent("isValid", oldValue, model_internal::_isValid);
        }
    }

    /**
     * derived property getters
     */

    [Transient]
    [Bindable(event="propertyChange")]
    public function get _model() : _SchedeEntityMetadata
    {
        return model_internal::_dminternal_model;
    }

    public function set _model(value : _SchedeEntityMetadata) : void
    {
        var oldValue : _SchedeEntityMetadata = model_internal::_dminternal_model;
        if (oldValue !== value)
        {
            model_internal::_dminternal_model = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "_model", oldValue, model_internal::_dminternal_model));
        }
    }

    /**
     * methods
     */


    /**
     *  services
     */
    private var _managingService:com.adobe.fiber.services.IFiberManagingService;

    public function set managingService(managingService:com.adobe.fiber.services.IFiberManagingService):void
    {
        _managingService = managingService;
    }

    model_internal function set invalidConstraints_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_invalidConstraints;
        // avoid firing the event when old and new value are different empty arrays
        if (oldValue !== value && (oldValue.length > 0 || value.length > 0))
        {
            model_internal::_invalidConstraints = value;
            _model.model_internal::fireChangeEvent("invalidConstraints", oldValue, model_internal::_invalidConstraints);
        }
    }

    model_internal function set validationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_validationFailureMessages;
        // avoid firing the event when old and new value are different empty arrays
        if (oldValue !== value && (oldValue.length > 0 || value.length > 0))
        {
            model_internal::_validationFailureMessages = value;
            _model.model_internal::fireChangeEvent("validationFailureMessages", oldValue, model_internal::_validationFailureMessages);
        }
    }


}

}
